Both yes and no. Technically polymers of DNA and RNA contain a phosphodiester bond, which you don’t find in the monomers. However (NMP)n is a commonly used description of polymers of RNA, in that the elongation reaction can be described as:
(NMP)n + NTP → (NMP)n+1 + PPi
In either case it doesn’t matter because whatever your original point was is now completely worthless. The energy for the reaction comes from NTPs, the fact that those same NTPs are also used in a chemical reaction that builds up a larger macromolecule is neither here nor there. They diffuse across the membrane from the outside to the inside and are then used in an internal reaction where the product (RNA polymers) aren’t lost to the environment afterwards.
It’s one of those things reading Tour’s materials will make you think couldn’t happen and has never even been attempted. We know, because that’s what all your questions reveal that you believed.