Mining is the core of cryptocurrencies, of course you can mine
All that you need is a specific cpu that you will use only for this, but be aware that you have to calculate all the costs and mine currencies that are profitables for your cpu and hashrate
I suggest learn a bit more, there's a lot of staff here
first learn and then start making questions in the forum based on what you have learned
there's a lot of people that can help you here but you have to be prepared in the bases os mining