Yes, see https://www.irs.gov/publications/p527#en_US_2022_publink1000219159
View solution in original post