Yes, you can now take the button code from Document Action to paste into custom button and then add: &folderId={folder id field} at the end of the custom URL.