As far as anyone knows, no. There's no way to take a pet along to university in The Sims 2, even with the Pets expansion installed. Sorry.