Of course you can hold altcoins for years. This is because altcoins are actually on the Rise and improving more than Bitcoin.
Some of the altcoins like ethereum litecoin and many more show quite a bit improvement .
If you are talking about long term investment like for 10 years or maybe just five years then altcoins are the choice because they are the future.