It's not a technical limitation, it's a culture limitation. Mac apps care far more about providing a consistent UI than Windows and Linux apps (although I believe those platforms have improved in this regard in recent years). It's certainly possible for a Mac app to muck about with the non-"app" parts of the window, it's just far less common.