I did that in my family room! I had sliding glass doors that were installed wrong by the previous owner so there was a leak which rotted out part of the floor and subfloor. I had to hire a carpenter to fix the floor and had him put in french doors. I built a ceramic tile foyer area there so that 1) the dog coming in and out wouldn't ruin the carpet there and 2) if there was another leak, it wouldn't rot out the floor right away. I also replaced all the foamy type fake wood moldings in that room with real wood. The carpenter even said I did a good job with the moldings and my mitred corners

Plus, that way, I could stain the moldings and baseboards the same color as the French doors, because I really hate when woods don't match.