You can only apply from the airport in Canada or when entering the country if you are able to obtain a TRV (tourist visa) and then fly to Canada. If you have refugee status, it will most likely be extremely difficult to get a TRV approved.
Otherwise yes, you would need to contact the SAHs from Lebanon and try to find an organization willing to sponsor you.