You cannot switch layouts with a quick action, you could use the read only field attribute and make all fields on the form read only based on a field. So add a new field AC_Edit for example as boolean. Then control that with a quick action. Should make the fields editable or not editable on clicking. Fairly painful though, I usually only use this for things like overriding cost fields.
It is what I guessed was the answer. I will create another role.