Yes.
If that is all you want to know, we are done. 🙂
Would you like to know how?
Off-hand, the first thing I see is the Room.Unplace method:
https://www.revitapidocs.com/2020/d5d66eb0-ca3b-6133-48a6-645900addd5f.htm
You can create them unplaced from scratch, too. I just don't know how off-hand.
The link you provided is for rooms, but I'm looking for a way to create unplaced areas, I can't find a way in the API.
Thanks