No, the AR-15 has a different configuration to that portion of the receiver to disallow exactly that. There is a block that isn't machined out on the AR-15 that IS machined out on the M4/M16. Additionally, the sear hole isn't drilled.
You'd still have to also replace the hammer, bolt carrier, and safety, as well.