You could use the endpoint database, but it’s not recommended as it’s an administrative database, not an user facing database.
The device registration portal is meant for end users and IT staff to “register” headless-type devices. You can have as many custom attributes as you want along with role, expiration, etc.