You need some form of elevated ceiling or a mansard roof. A regular roof with, for example, a 45-degree angle would only give 2.80 in height in the middle of the house minus the thickness of the timber and a usable width of max 2 meters (without having calculated anything).