How to do asynchronous programming with only global variables?
Every program that uses local variables can be converted to one that uses only global variables.  So, the answer is trivially yes.  However, it might not be pleasant for the software developer.