I personally think that with enough practice, it's possible to achieve results to the level of J.S. Bach. You first have to have an understanding for how that music is put together. It revolves very much around tonal relationships and harmonic sequences. Experiment with modulation in the music you write and try to get it smooth by using common chords (chords that are within both the starting and destination keys). Here are a few characteristics of Baroque music as a starting point:
- Melodic lines: it varies but generally conjunct motion is preferable, the range isn't extreme, but does rise and fall.
- Harmony & tonality: functional harmony and tonality, advanced tonal sequences spread out over many bars.
- Counterpoint: all the parts are very individual, but at points they interact with each other.
If you need any help, pm me.
https://www.newbaroque.org - Celebrating Baroque music in the 21st century