Can I write query in the Laravel blade file ? Is CodeCanyon Allow this ?

I write most of query from the controller. but some queries I write in blade file. Is CodeCanyon allow this?