Not really. Bobby tables is fixable with prepared statements and things like that. Prompt injection has mitigations.