adb – Send fake sensor value to an Android real device

Specifically what sensor ?
If you are simulating a screen press, then yes.

If you are simulating a temperature for your CPU, probably not.

It depends on the level of safety In my opinion, if your just mocking GPS locations, not a big problem… However if your trying to mock temperature readings or something that might cause hardware failure’s… it may not be possible.