Yes, that works, but sometimes I move things around in the story and then the uncapitalised variation is the first time that room appears in the source code.
I have found a solution though in another thread and adapted it for my purposes:
Rule for printing the name of a room (called the chosen room):
say the printed name of the chosen room in title case.