There's plenty of headroom because it has a shock-cord ridgeline that comes with it and holds it up. But no, it's not nearly big enough for a cot, IMO.
“I think that when the lies are all told and forgot the truth will be there yet. It dont move about from place to place and it dont change from time to time. You cant corrupt it any more than you can salt salt.” - Cormac McCarthy