How can I use this in a button that will scroll to a section?
Yes. As long as it's vertical.
1.) your section needs an anchor
2.) your button needs the link to the ancor