Hide cockpit panel and/or aircraft

No, there isn’t. At least not as you expect to be done, like in FSX. There’s a long discussion about it, with some clever workarounds:

This is the best we got until MSFS does it natively.