Don't see any problem with that. But why not just plug D into the router as well? If it's wiring problem, you can just get a hub/switch and uplink it to the router.
so you get:
Internet --> Router
--> Computer A
--> Computer B
--> (uplink) Hub or Switch
(from hub) => Computer C
(from hub) => Computer D
Hope this isn't too confusing