Make Local endpoints a device?

This already exists for generic hub endpoints... Hub Information Driver has a host of curated commands like the ones you're describing.

If the OP is instead asking for a way of cataloging in-use local endpoints, sounds like a job for Rule Machine (which permits Comments) where you could keep an updated list for yourself, and trigger various endpoints via GET requests using IF-THEN logic.