The easiest and safest way to get it up and running is:
Purchase a raspberry pi 5 16gb
use PI Imager to format the drive
Install PI OS 64Bit
Boot the PI, and connect it to wifi
Open a terminal:
sudo apt-get update
sudo apt-get full-upgrade
wget -qO- https://raw.githubusercontent.com/Botspot/pi-apps/master/install | bash
Once it installs you can launch Pi Apps
Install Minecraft Prism
Login using your Microsoft account
and you are off and running!