Unfortunately no. The computer belongs to the university even if you bought it with your research money through the university. This is the general rule.
From time to time, the department, campus or university may sell old equipment to the employees. But it has to be sold at market value and the costs involved have to be covered. All software licensed to the university have to be removed. For example all our versions of Windows and Office have to be removed. Instead of Windows for example Ubuntu or any other free operating system or software may be installed. In practice all of this makes it very hard to sell old equipment in an usable state at a reasonable price.
Read more in Regler för försäljning av inventarier UFV 2008/159