If the tent sits inside the cot, rain will run off into the cot bottom. If it drains fast enough, that will merely make the bottom of the tent cold. If it pools under there, it might start seeping through the ground sheet.
Other than that, as long as they are tied down properly, I can’t see why this wouldn’t work.