But as far as I know you can't sell hm's?
The event of getting a HM is a one time event. It can not be done again. So assuming that you DID somehow sell a HM, you would be unable to get another. Unless you hack the game badly, I am assuming you don't do that.
Have fun with getting through Omega Ruby without HM's :D