Not really, because people aren't loyal to companies, it's not the 1980s.
If Company A trains a junior to a senior and fails to pay senior rates, what stops that new senior moving to Company B?
Company A and Company B thus have to pay roughly the same, who did the Junior->Senior transition doesn't matter
Some things are easy wins for retention -- my company gives extra holiday as tenure extends for example, and people of a certain age still have a defined benefits retirement plan which has significant value. The extra holiday costs companies nothing, but an extra day each year really helps, start with say 28 days, but after 5 years you're on 33 days. It's harder to put a monetary value an extra day off, so harder to make the jump-ship calculation.
You can do it, but since you're relying on others to build the pipeline, you're going to have to pay a lot more salary to the seniors than you would if you promoted them.
Maybe that makes up for the salaries of juniors and the portion of time spent by seniors on mentoring juniors. But then some seniors want to do mentoring, and you're not providing that opportunity, so more reason for them to demand more pay.
IMHO, it's workable, if not necessarily desirable, if you want a small team. If you want a big team staffed with only seniors, I think it's going to be a challenge.