I’d say that the corporate world works just like any other world. It follows its interests which in the workplace translates to you (aka any developer) being bombarded by requests, whether they are emergencies or anything else coming from a colleague.
The work you do is your responsibility and as such you can (and should) take control on how you do it. People will tell you what you need to do, other people may participate in prioritisation but how you deal with the current task at hand is up to you.
Get better at chunking. 25 minutes, 20 minutes, whatever. People are ok with being postponed for these kinds of timeframes, even on short notice.
It’s about giving yourself the time to do things the right way and it’s part of taking responsibility for the quality of what you deliver.