do (double) duty as (something)
1. To do two things simultaneously. It's sometimes tough to do double duty as an accountant and mom, but we really needed a second income.
2. To be able to serve two functions. Don't worry, this space can do double duty as a guest room and an office.