Yes, you can use Parmesan as a substitute for Gruyere in certain dishes, but be aware that the flavor and melting properties will differ. Parmesan has a strong, nutty taste and might not melt as smoothly as Gruyere, so consider adjusting quantities and combining with other cheeses for best results.