There is no major aerodynamic problem with flying upside down (systems might be a consideration .. eg batteries, oil, fuel and so on).
If the wing section has a conventional camber, inverted flight will not be terribly effective or efficient .. which is why many aerobatic aircraft have wing sections which tend more towards a symmetrical profile.