Hi,
Yes, it is totally okay to apply for both FPM and PGP in an IIM but only if you are eligible for both of them. This wouldn't cause any problem in future but you should be ready with some explanation of why you chose to apply to both of them. Though there is a very low chance of anyone asking you about it as the interviews for both the programs are different.
I hope this helps,
All the best.
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile