With a VPN your machine understands how to route general TCP/IP over the tunnel. With ssh while you can get any traffic to do that, it is not transparent to all applications.

But if you took an ssh tunnel, and then created a TCP/IP tunnel over it, you would have a working VPN.

Cheers,
Ben