It is often seen has a form of dishonestly obtaining Pokemon or ingame objects or even giving Pokemon illegal sets so it is considered hacking. However the definition of hacking is thrown around a bit, so technically it isn't actually hacking, more like modifying.
I'm going to get you the definition of hacking but my internet is slow so I'll do it later. If anyone else wants to in the comments thats their choice.