Just using Arduino no.
I think that a simple option is using comparators and a power supply with voltage you need. But you have to take a look to the slew-rate of the comparator.
A typical comparator is the LM193 or LM393. You can search something about them in TI or others.
Another option is using a half H-Bridge, there are many of them. You make it on your own with Mosfets or take an IC.
![]()