Is there anyway to automate an app like Netflix using Appium-Scrcpy, where an app does not allow screen mirroring by its design?

Netflix app restricts the screen mirroring when we try to take the remote access of actual Android mobile using Android mirroring tool scrcpy. Hope this is the restriction of the app by design. Is there anyway Appium can help in automating such applications?

To automate such app you need to work there and ask to test build without such restrictions.