Yes, there are several examples of this type of movie. One example is the movie The Other Woman (2014), which stars Cameron Diaz as a woman who finds out her boyfriend (Nikolaj Coster-Waldau) has been cheating on her with his wife (Leslie Mann). When she discovers this, she is determined to get revenge and seeks out his wife to team up with her. As the plot progresses, the wife is cast in a movie that requires her to do an explicit sex scene. The Other Woman delves into the emotions of the wife, the boyfriend, and the other woman as they all deal with the situation in different ways. Another example is the movie Take This Waltz (2011), which stars Michelle Williams as a woman who is married to a nice guy (Seth Rogen). However, when she meets a handsome artist (Luke Kirby) on a business trip, she soon finds herself caught in a love triangle between her husband and the artist. As the story progresses, the artist casts her in a movie that requires her to do an explicit sex scene. This leads to a lot of tension between her, her husband, and the artist, as all three characters struggle with their own emotions and desires.