It would seem almost a given that many (most?) early photographers would come from families with "means". Who else would have had the resources to purchase cameras, equipment, chemicals, film/plates etc.? [Same could probably said for many painters etc.]

Only after Kodak (and others) came out with the simple box camera did it become an instrument available to the middle and working classes - and even then there was the cost of film and developing etc.