You can do that - I helped a buddy install Allure Ultra in his 40 ft coach. Gluing it down is better than floating it in an RV installation - the subfloor is an RV sifts around a lot, especially in lighter models with less rigid frames and floor structure. I highly recommend buying one of the more expensive grades, e.g. Allure Ultra rather than the standard Allure. The higher cost per sq ft doesn't add up to much with the small floor area of an RV, and the planks are thicker, join more firmly, and last longer.
As with most flooring, the success is largely determined by the prep work. A smooth, clean and dry subfloor is a necessity. Fill holes or gouges, sand bumps, remove staples and old adhesive, etc. Often it is easiest to lay a new plywood overlay on the old subfloor, but make sure you have enough clearance for the additional height of
luxury vinyl plank flooring atlanta.