It's correct. Here, 'by' = 'as a'.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
AnonymousWould I be able to find it in the dictionary?I just tried and can't, but that doesn't mean anything. "We work by committee" is well inside the bailiwick of that little word "by". It has a million subtle definitions. This is a variation of one, "by means of".