I have never seen side exhausts on a Z4 but I suppose with a bit of work it could be done. Your idea looks interesting.
Are you thinking of a Z4 modern based Kobra idea ?
Here is a modern-style Cobra concept which looks as if they have used a Z4.
Its a Kicksterter project and its called the Pluritalia 427. Maybe you can get some ideas from this.