I can't say if you will gain fat, because even just sitting we burn calories, so basically it depends on the amount of calories you take in. One thing is for sure though, you will lose muscle, and muscle burns fat, even while sitting. If your injured and can't help it, that's one thing, but please don't make this your goal.