Yes, you can , but keep in mind that mining only uses GPU processing power, so the other components in your PC aren’t very relevant. What I want to say is that it doesn’t matter if it’s a gaming PC or not, the only thing that counts is your graphics card.