Is it okay to breastfeed every 5-10 days if I want to wean my son?

B e A m * • ⚽️ #1 Jul 17 🌷#2 Mar 20 🚗 #3 Feb 24

Has anyone tried this method? Does it work? I breastfed him every day up until last month. Then, this month, I only breastfed on the 5th, 10th and 18th. So far, he hasn’t been asking to nurse unless I ask him if he wants to. He’s 25 months by the way.