Yes, you can. The biggest difference between store-bought and homemade gnocchi is that the store-bought versions tend to be a little gummier. I find they're at their best when they're crisped up slightly in a pan. Instead of boiling the gnocchi, I recommend sauteing them with a splash of water and a tablespoon or two of oil. Once the water evaporates, let them crisp up in the pan until lightly golden-brown. Then, toss to combine with the sauce and cheese, and bake in the oven.