Yes, coffee plants do need direct sunlight. Coffee plants grown indoors under artificial light will not produce beans that are of the same quality as those grown in direct sunlight.