Short Answer. Yes.
Long Answer, it depends.
Is this a desktop PC or a laptop? If it is a laptop, I would very strongly suggest you do not do this.
If it is a Desktop PC, then it depends on how well the computer is able to handle long time running. A great cooling system is key, if you can be 100% confident that your PC will not overheat while running minecraft and other things on the Pc, then go ahead. Otherwise, I wouldn't.
Also, like TMT said, you can use software instead of physically using your mouse. Not sure about any specific programs though.