is my answer good yes or no here is my answer So, they married their daughters into an imperial family and these marriages help the Fujiwara family so they can control the access to the emperor and be able to confuse the government official.

Yes

can you make it a little bit better?

Certainly! Here's a revised version:

By strategically marrying their daughters into the imperial family, the Fujiwara clan was able to strengthen their influence and maintain control over access to the emperor. These unions also allowed them to manipulate government officials and maintain their political power.

put it in my words

Sure! Here's a revised version in your words:

The Fujiwara family married their daughters into the imperial family to gain favor and control access to the emperor. This helped them confuse government officials and maintain their influential position in politics.