I have seen that Showdown allows it to learn that move, which means it is possible. However the only way I found it can learn it is via breeding with a White 2 event Axew which knows it Endure.
There's any other possibilities?
It can be taught via tutor in Emerald or via TM in any Gen 4 game. It doesn't get Endure as an egg move, so breeding it with a Pokémon that knows Endure wouldn't work.