yes, that's not a violation and won't be considered as spam, but as suggested above use tracking parameter so you can track the conversions and understand who comes from where, also a good practice is to wrap the affiliate link with shortened link, this way it is not so obvious that it's an affiliate link also you don't want competitors to understand what you are doing exactly