door tracks for old front door/to bathroom door?

Vintage doors on door track hardware. So french country

vintage doors mounted on barn door hardware. This could be done in place of the french doors we have in our office. It would really save space and make the room more usable (think external pocket doors).