Is it safe to modify current process async?

There is process with task that performs removal of some activities in the same process. I implemented it using process modification mechanism and it works fine. But according to documentation changing current process may result in undefined behaviour.
Maybe it is more safe to use async process modification? Other variants?