I believe he is allowed to do a certain amount of paid work while on incapacity benefit, up to 20 hours a week IIRC. So maybe he can justify his illegal software/film enterprises as “permissible” work.
There are several levels of incapacity benefit, some are means tested, some are not and based on your ability to work and your previous National Insurance contributions.
These threads pop up regularly. They get the usual polarised views of “shop the cheats”, to, “hes not really harming anyone is he?”. None of the OPs ever actually come back onto the thread and explain what action they did or didn’t take. So I can’t really be faffed commenting…….maybe you should do what YOU think is RIGHT.