Hmm, sorta. Depending on the country, museums are usually financially supported by both private individuals and the state. Many museums rely on physical visitors to pay ticket prices either for entry or for temporary exhibitions. Also visitor numbers are quite often the metric of success by which funding can then be sought. So yeh, there's some limiting because of space / damage to artworks etc but on the whole museums want more visitors both physical and online.