Is it possible to run X-Debug on Platform.sh?

I’d like to do step through debugging on my PHP projects.

Yes. Please see the guide that was published here: https://ghosty.co.uk/2015/09/debugging-on-platform-sh/