Yeah the flange can just be pressed out, will probably need to replace the bearing too.
Is there any thread sticking out of the back of the flange? Im guessing its snapped flush on the wheel face...check to see if its sticking through on the back as you might be lucky and be able to wind it out with some grips...
If not, thread extractor would be my next try....last resort id replace the flange, but its easier to replace the hub itself to be honest, they can be had for £20-30 on here second hand.