I want to do something like
select * from tvfHello(@param) where @param in (Select ID from Users)
That looks ok to me, except that you should always prefix your functions with their schema (usually dbo). So the query should be:
SELECT * FROM dbo.tvfHello(@param) WHERE @param IN (SELECT ID FROM Users)