It’s definitely possible but I’m not aware of any tutorial guides.
It also depends what you mean by bare metal (EL3 before Arm Trusted Firmware is loaded? EL2 before bootloader? EL2 after bootloader?).
All are possible but if you just want to run some code without an OS then EL2 after bootloader is probably for you. Perhaps you could try and use this framework to get started: