I worked around the problem you describe by getting a google voice number and using that at the front end for my real numbers. My GV# is the face for whatsapp, telegram, whatever asks for my number. Also helps that I can send and receive sms over data or WiFi anywhere in the world.
Doesn’t work with some sms gateways that don’t y’all GV, but the best international I know.
Each country gets a new sim with a local number for data and local texts but I never give it out.