No, we can create sharing rules for details objects because they don’t have owner field.
Sharing rules are used by administrators to automatically grant users within a given group or role access to records owned by a specific group of users. … All implicit sharing added by Force.com managed to share cannot be altered directly using the Salesforce user interface, SOAP API, or Apex.
But In a Master-Detail relationship, you can configure sharing rules so that a user can see the parent but not the child. But if a user can see the child record, they will always be able to see the parent.