Yep. That's exactly the basis on which we operate aerobatics flights with no loose stuff in the cockpit at all.
Although there are some things that you're legally required to carry as paper items, not as memory or digital items: Your license plus picture ID, and some aircraft paperwork (POH, CofA and a few other bits and pieces). Yes, these are neatly tucked away so as not to pose a flight hazard.