The cutting edge right now is happening between Ukraine and Russia.
They will use simple onboard classifiers for target selection but nowhere near the type of model you're thinking of.
The issue isn't cost or even supply chain limitations.
It's that fancy models need fancy chips and those chips are not ruggadized to survive flight, virbartion, shock, humidity, etc.
For anything near range you can just run a fiber optic cabel behind it.
If instead you mean a computer onboard the drone, then sure as long as you stay within the power and weight budgets.
They're not cheap.