Is it halal to create a food app that allows restaurants / chefs to sell their food if harām food may be sold e.g pork

Creating the application in and of itself is permissible, but if forbidden transactions were conducted through it, and a profit came from it, then you must give it in charity.