If your den is attached to the back of your garage, it sounds like this may be an unpermitted addition. To be on the safe side, I would contact the local building code enforcement office.
You will want to be certain what ever you do is in compliance with all local laws.
Best of luck to you,
Kawain Payne, Realtor