Welcome to the forum.
You have not given much information about your boots or the type of walking you do but here goes.
New insoles might solve the problem but feet and ankles are complicated things and there are lots of variables (boots fit the ankle differently from normal shoes, the type if walking is likely to be different, are the boots a good fit and suitable for the type of walking you are doing etc. etc.) and it is a bit simplistic to decide that the cushioned insole in a pair of brogues (which, especially if they are leather soled will have very little other cushioning) and a pair of walking boots which will have much thicker (and possibly much stiffer) sole with more inbuilt cushioning.
If you wear your brogues 5 days a week and your boots once every few months for a long walk then your feet and other joints may struggle to adjust.
By all means experiment with different insoles but some of them are expensive and IMHO, You would be better off starting out by working out whether the boots you have been using are the correct fit and are suitable fo your feet and the type of walking you are doing.
If you are in Brum then Snow & Rock always used to have knowledgable staff who care about what they do and ( (esp if you avoid the busy times) are very happy to take the time and effort to make sure boots fit. They also sell insoles and volume adjusters. Take your existing boots along, explain the problem and see what they have to say - IME they give good advice and are not just trying to flog stuff to you.
https://www.snowandrock.com/about-us/expert-boot-fitting-service.html
As I said earlier, a new insole might solve your problems but hands on expert advice is always better than the opinions of random folks on the internet.
Good luck and hope there us a cheap and easy solution to your problem.
Random bloke from internet!