It’s not possible for both phones to have the same number at the same time. I just transfer the eSIM from one to the other. I did the same thing with physical sims when those were used.
It’s possible as long as the carriers and local laws allow it.
In most countries, SIM cloning is illegal.