Yes, it is possible for planets to be made of different substances than Earth. For example, some exoplanets are known as 'hot Jupiters' and are composed primarily of gas.