You could fix the camera behind you, showing instruments and nose attitude. Risk is it'll be able to hit a head in an accident. Yours or the instructor.
Some YT videos were done with the GoPro on the back wall of the cockpit. The pilot is an instructor, flying solo.