Yes! Many collectors simply love the hobby, and aren't in it to make big profits. Yet collecting coins and holding them for several years is often a viable investment strategy.
This may be due to the melt value of the coins rising over time (if they are made of silver or gold). Coins can also appreciate in value due to their popularity or because of a limited mintage (scarcity).
As a general rule of thumb, it's advisable to collect the highest-grade coins (i.e. coins in exceptionally good condition) that you can afford. These are the coins that tend to have the highest profit potential.