The requirements for the H-2B visa do not include any kind of academic education or long years of work experience for the H-2B visa (unlike the requirements for the H-1B visa). As a result, you can work in almost any field.
Despite all that, the worker has to have the necessary training/education and skills required for the position offered in the US. If you do not have the necessary qualification and work experience needed by the employer, qualifying for a visa will be more than difficult.
In addition, any H-2B holder has to keep a permanent place of residence outside the US.