Contacts who fill out a lead gen form on LinkedIn are added to Hubspot. You should be able to create a list of those contacts based on the form they filled out and have one of the columns of the list be "Associated Companies."
Creating a list of companies could be problematic if you have multiple contacts under that company because they could be filling out different forms at, or around, the same time.