If the painting needs to be done due to damage from the tenant then yes the landlord can charge you for painting the interior of the apartment or house.
But if the painting just needs done because of normal wear and tear then no the landlord cannot charge the tenant for painting the interior of the apartment or home.