Well, yes, but it may be quite hard to defeat a Pokemon there at the stage of the game you're in. The Ghost Pokemon they are fairly high leveled, especially in that point in the game. Anyway, it's accessible just before you go to Motostoke for the first time.
Hope this helps! :)