Short answer is yes but it isn't easy. In a tank with the proper nutrients, feeding and filtration/stocking level, you won't have any algae. There are lots of things that lead to algae though and too much food is one of the prime causes. Also, having a tank where it receives direct sunlight is almost guaranteed to get you green water and blue-green algae.