It can be done as others here have said.
I once had three quads standing up in the back of my longbed Dodge Ram. It sure as hell wasn't easy to get the last one in there and the tailgate wouldn't shut, so we removed it as we had to tow an RV home. I wish I had pictures since I got so many thumbs up on the trip back from Idaho.
BTW, the quads were a Suzuki LT500R, a KFX 400, and a LTZ 400.