Yes you can. Grated Parmesan will actually melt better than pre-shredded. Grated Parmesan tends to be pretty salty, so you may need to reduce the amount of salt.