Hey @Antumbra, welcome to the forum.
Yes, that is possible via a custom file::url component:
File URLs | Kirby
Image URLs - How to remove string? - #10 by bastianallgeier