Hello,
You may be able to switch back to Windows 11 Pro without formatting your laptop. Microsoft officially supports downgrading Windows 11 Education to Pro. (Note, if you have "Pro Education" instead of "Education," then a clean install is the only way).
However, before making any changes, I would like to clarify a few things.
Did your laptop originally come with Windows 11 Pro preinstalled, or did you purchase a Pro license separately?
How did it change to Windows 11 Education? Did you manually install Education, enter a school-provided product key, or did it change automatically after signing in with a school account?
Under Settings > System > Activation, does it currently say Windows is activated?