Volt-like block with pure PHP

I have a simple question: is there any way to create a Volt-like block in a view with pure PHP? I'm not using the Volt template engine, but I would like to use this functionality to create a block for holding JavaScript references at the bottom of my layout view.