Well that depends,,my son has a shop and it had a thin carpet which had been glued down, tried pulling a bit up and it was virtually impossible. We wanted to fit Laminate flooring and I took the view that the carpet could probably take the place of the thin foam underlay you would normally lay. That was 9 years ago and despite the heavy footfall there have been no problems. Hardwood flooring though,,clearly not small pieces, but if they are planks, and the carpet was difficult to remove and not particulary thick, then I might give it a go,,how do you plan to fix it though?
Steve.