I agree with Alf0nse that footbeds provide stability in any shoe, but having had custom orthotics made a few times (once for general use, once cycling specific and once after I severed a tendon in my foot!) I tend toward the opinion that the heat mouldable ones give 90% of the benefit at 10% of the price.
Could be worth trying some heat mouldable footbeds - Sole for example https://yoursole.co.uk/collections/mens-footbeds
I agree with Alf0nse that footbeds provide stability in any shoe, but having had custom orthotics made a few times (once for general use, once cycling specific and once after I severed a tendon in my foot!) I tend toward the opinion that the heat mouldable ones give 90% of the benefit at 10% of the price.