I don’t think I’ve ever encountered a cable box that had discrete power codes. Some did have an option for power on by a number command. There’s a common question on this forum that fits this thread.
Civil War reenactment is LARPing for people with no imagination.