It is possible but its not as easy as it is with phones (tracking the laptop, not installing the software). You have to depend on your thief logging on to your computer in a place with named wifi hotspots (built in gps hardware would be nice but that's not too common), connecting to the internet and not wiping your drives. Prey is a well regarded tracking software that has a free plan and a reasonably priced paid plan
https://preyproject.com/
http://locatemylaptop.com/ and
https://www.lockittight.com/ are other good choices amongst a plethora of options. Google will be your pal in finding the ones most suitable to your needs and budget.