Yes - It is possible to record defects and approve/reject based on AQL's. In fact, that type of valuation was originally designed primarily for use with inspection points.
I don't know a BAPI specificallly for this off hand. I'm sure they are there though.
Defects recording shouldn't be an issue.
Craig