[EDIT] This is better answered in another thread https://forum.mendix.com/link/questions/8471
Yes, of course this is possible. There are many options from Paypal in terms of how you integrate it within your app. The recommended approach looks to be using "payment buttons".