The cabin crew will ask you to stash it away until you're at a safe altitude. So, the lack of an official airplane mode in macOS is not a real downside at all. To summarize, you can use your MacBook while on a flight unless the staff tells you otherwise.