This works on the outside but you ll need to install a recessed pull on the inside so the door clears the door jamb when it slides open.
Barn door inside or outside room.
I did paint my door and it is painted two different shades on each side.
If your barn door is the entry to a bathroom or bedroom you ll find different privacy latching solutions available from a hook and eye closure to a latch with strike plate even a decorative deadbolt.
On this kind of door the exterior trim is wide enough that you will still see the frame around the door despite the overlap.
When thinking about barn doors and how they can be used inside the house the first thing that comes to mind is the bedroom.