No nothing can happen except not being able to participate in online battles.
But this is only if the Hackmon is out of the ordinary. Like having moves/abilities it shouldn't. So if it is completely viable, nothing will happen to you.
And if you want to get rid of it just wonder trade it or release it.