1) You can do it as well as your husband.
2) You can do it, as well as your husband.
Are both these sentences ambiguous?
a) You can do it in as good a manner as your husband does it.
b) You can do it and so can your husband.
I think '2' means 'b' unless the part after the comma was added as an afterthought.
'1' seems ambiguous to me.
The context would make the meaning clear.
"Invading armies have no rights." Noam Chomsky