Any association organized under the provisions of sections 176.500 to 176.540 may include among the types of risks shared liability imposed by chapter 287 relating to workers’ compensation liability. To the extent workers’ compensation liability is covered, the association shall be subject to the requirements of chapter 287 and shall maintain a separate account therefor. Funds allocated to the workers’ compensation account shall not be used to pay claims arising out of other types of risks undertaken by the association; provided, however, that nothing contained in this section shall prevent the commingling of funds for the purposes of investment or the allocation of expenses between the workers’ compensation account and other accounts of the association.