How can I use alloy to receive logs over UDP?

I have an application that emits logs using UDP. Log messages use logfmt format. Is there a way to receive these logs with Alloy and export them to Loki ?