Silverstripe Upgrade Question

Silverstripe Version: 3.1.21

Question:

Is it possible to upgrade from version 3.1.21 to 4.2.1?

Thanks in advance.