Application Upgrade from 8.7v (On-Prem) to 24.1.2v (Cloud)

Is it possible to upgrade from Pega 8.7 version (On-Prem) to Pega 24.1.2 version (Cloud) directly??

@AM@90 Is there any challenge to do double level of migration??

1.On-Prem to Cloud

2.Pega 8.7 v to Pega 24.1.2 v