Sadly no, you can't go to Inverness from Glasgow, unless you go via Perth. Perth is the "hub" for trains from Glasgow, Edinburgh and Inverness, and Dundee is the "hub" for trains going up to Aberdeen. Google "Scotrail map" for the map; once you leave the central belt of Scotland there are not many routes.